package com.quexin.pickmedialib;

import java.util.ArrayList;

public class PickerMediaResutl {

    private final int requestCode;
    private final ArrayList<MediaModel> resultData = new ArrayList<>();
    private boolean isPicker = false;

    public PickerMediaResutl(int requestCode) {
        this.requestCode = requestCode;
    }

    public int getRequestCode() {
        return requestCode;
    }

    public boolean isPicker() {
        return isPicker;
    }

    public void addData(ArrayList<MediaModel> data) {
        isPicker = true;
        resultData.clear();
        resultData.addAll(data);
    }

    public ArrayList<MediaModel> getResultData() {
        return resultData;
    }

}
